//  -------------------- iSharePoint -------------------- //
// 
//  Company:	IT Complex, LLC
//  Project:	Smart.Common
//  File name:	ITemplateInstance.cs
//  Developer:	Solomatov Igor
//  Created:	15.04.2012
// 
//  -------------------- iSharePoint -------------------- //

namespace Smart.Common.Templates
{
	/// <summary>
	/// Instance interface (formatted template)
	/// </summary>
	public interface ITemplateInstance
	{
		/// <summary>
		/// Instance data
		/// </summary>
		object Data { get; set; }

		/// <summary>
		/// Save all data
		/// </summary>
		/// <returns>true, if succeeded</returns>
		bool Save();
	}
}